Skip to content

Conversation

bersprockets
Copy link
Contributor

What changes were proposed in this pull request?

Add support for radix sort of the Time type.

This PR is based on #35279, which added similar support for TimestampNTZ.

Why are the changes needed?

Better performance when sorting by one Time type column.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

New test.

Also, I added temporary debug statements to SortExec in a working copy with this change and one without this change, then tested a join by the Time type. In the working copy with the change, canUseRadixSort = true. In the working copy without the change, canUseRadixSort = false.

Was this patch authored or co-authored using generative AI tooling?

No.

@github-actions github-actions bot added the SQL label Oct 5, 2025
@peter-toth peter-toth closed this in fd02372 Oct 7, 2025
@peter-toth
Copy link
Contributor

Thanks @bersprockets, merged to master (4.1.0).

@bersprockets
Copy link
Contributor Author

@peter-toth Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants